{load_language_text section="address_book_process"}
{load_language_text section="buttons" name="button"}

<div id="account">
	<h1>
		{$txt.heading_address}
	</h1>

	<form id="{$FORM_ID}" action="{$FORM_ACTION_URL}" method="{$FORM_METHOD}">
		{$error}
		{$MODULE_address_book_details}

		{if $delete=='1'}
		<h2>
				{$txt.title_delete}
		</h2>
		{$txt.text_delete}
		<br /><br />
		{$ADDRESS}
		<br /><br />
		
		<a href="{$BUTTON_BACK_URL}" class="button_grey button_set"><span class="button-outer"><span class="button-inner">{$button.back}</span></span></a>

		<a href="{page_url}#" class="button_blue button_set action_submit"><span class="button-outer"><span class="button-inner">{$button.update}</span></span></a>
		{$BUTTON_UPDATE_HIDDEN_FIELDS}

		<a href="{$BUTTON_DELETE_URL}#" class="button_blue button_set"><span class="button-outer"><span class="button-inner">{$button.delete}</span></span></a>

		{/if}
	</form>
</div>